home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 616 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. X-Mailer: CrossPoint v3.1
  2. Message-ID: <60S2PWEc0VB@hit152.hit.handshake.de>
  3. X-Gateway: ZCONNECT UR hit.sb.sub.de [DUUCP BETA vom 15.10.1995]
  4. References: <4cpbla$1kgm@usenetw1.news.prodigy.com>
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. From: j-c.dirn@hit.handshake.de
  9. Subject: Re: Bitbanging the parallel port
  10. Date: 08 Jan 1996 00:18:00 +0100
  11. Path: hit.sb.sub.de!j-c.dirn
  12. Newsgroups: comp.lang.c
  13. Distribution: world
  14.  
  15. > I want to read and write a serial EEPROM (24C16) directly through
  16. > the PC-parallel port. Since I have no experience in directly
  17. > accessing pins of the parallel port through C, I would
  18. > appreciate any help with little C-routines for reading and
  19. > writing a specific pin of the parallel port. The rest I
  20. > can probably handle myself. However if anybody has a complete
  21. > solution it would be wonderful.
  22. >                                         Bernie
  23.  
  24. Hallo Bernie,
  25.         IMO it's not possible to do that hardware-independent with ANSI-C,
  26. but if you are using a PC, it can be done by adressing the hardware
  27. directly. So if you're interested, send me a mail, I'll answer you how to
  28. do.
  29.  
  30. Regards, Jean-Claude
  31.  
  32. Jean-Claude Dirn , EMAIL: J-C.Dirn @ hit.handshake.de
  33.  
  34. ## CrossPoint v3.1 ##
  35.